Skip to content

Conversation

@zeke
Copy link
Member

@zeke zeke commented Oct 28, 2025

This PR updates the app to require users to provide their own Replicate API token instead of using a baked-in environment variable.

Screenshot 2025-10-28 at 09 48 58

zeke added 3 commits October 28, 2025 09:41
Add user-facing token input form that:
- Prompts users to enter their Replicate API token
- Stores token in browser localStorage
- Includes link to generate new token on Replicate
- Includes link to learn more about the demo
- Allows users to clear stored token
Update API route to:
- Accept token from query parameter instead of environment
- Validate token presence and return 401 if missing
- Add error handling for invalid tokens
Remove environment variable setup instructions and document that users
will be prompted to enter their token in the UI
@vercel
Copy link

vercel bot commented Oct 28, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
fast-flux-demo Ready Ready Preview Comment Oct 28, 2025 5:13pm

Copy link
Contributor

@superhighfives superhighfives left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From a read through, looks good to me. 👍

Move token creation link above the form for better flow.
Update GitHub repo link to only linkify the repo name.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants